package com.cq.hd.member.api;

import com.alibaba.fastjson.JSONObject;
import com.cq.hd.common.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "hd-o2o-member-service", contextId = "hf-merchant-api")
public interface HfMerchantCallbackApi {

    // 企业商户基本信息入驻审核消息异步回调
    @PostMapping("/member/hfMerchantCallback/merchantEntAuditCallback")
    Result<Boolean> merchantEntAuditCallback(@RequestBody JSONObject dataObj);

    // 商户业务开通审核消息异步回调
    @PostMapping("/member/hfMerchantCallback/merchantOpenAuditCallback")
    Result<Boolean> merchantOpenAuditCallback(@RequestBody JSONObject dataObj);

    // 商户业务开通业务开通结果消息异步回调
    @PostMapping("/member/hfMerchantCallback/merchantOpenBusinessCallback")
    Result<Boolean> merchantOpenBusinessCallback(@RequestBody JSONObject dataObj);

    // 子账户开通审核消息异步回调地址
    @PostMapping("/member/hfMerchantCallback/merchantSettleConfigAuditCallback")
    Result<Boolean> merchantSettleConfigAuditCallback(@RequestBody JSONObject dataObj);

    // 个人商户基本信息入驻审核消息异步回调
    @PostMapping("/member/hfMerchantCallback/merchantEntIndvAuditCallback")
    Result<Boolean> merchantEntIndvAuditCallback(@RequestBody JSONObject dataObj);

    // 微信商户配置异步回调
    @PostMapping("/member/hfMerchantCallback/wxBusinessConfigCallback")
    Result<Boolean> wxBusinessConfigCallback(@RequestBody JSONObject dataObj);
}
